// main.js是项目的入口文件

//导入vue
import Vue from 'vue'

//导入路由
import VueRouter from 'vue-router'
Vue.use(VueRouter)

import router from './router.js'

//按需导入Mint-UI
import { Header,Button,Swipe, SwipeItem } from 'mint-ui'

Vue.component(Header.name,Header)
Vue.component(Button.name,Button)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)

//导入MUI
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'


import app from './App.vue'

var vm = new Vue({
    el:'#app',
    data:{

    },
    render:c => c(app),
    router
})